package com.itcncp.wechat.app.search.controller;
import com.itcncp.common.util.IDCardUtil;
import com.itcncp.wechat.app.common.constant.ApiResult;
import com.itcncp.wechat.app.common.constant.ApiResultConstant;
import com.itcncp.wechat.app.dao.model.UserCustomerInfo;
import com.itcncp.wechat.app.rpc.api.UserCustomerInfoService;
import io.swagger.annotations.*;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * 控制器基类
 * @author shuitcncp
 * @date 2016年7月7日 上午10:08:47
 */
@Controller
@RequestMapping("/app")
@Api(tags = "用户基础信息表",value = "用户信息", description = "用户的基本信息接口",
        produces = "produces",consumes = "consumes",basePath = "/app")

public class AppController {
    private static final Logger LOGGER = LoggerFactory.getLogger(AppController.class);

    @Autowired
    private UserCustomerInfoService userCustomerInfoService;

    @ResponseBody
    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public Object login(HttpServletRequest request) {

        return new ApiResult( ApiResultConstant.APP_ACCOUNT_PASS_ERROR);
    }





}